package fschmidt.util.mail.nomail;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import fschmidt.util.mail.Mail;
import fschmidt.util.mail.SmtpServer;
import fschmidt.util.mail.MailAddress;


final class SmtpServerImpl implements SmtpServer {
	private static final Logger logger = LoggerFactory.getLogger(SmtpServerImpl.class);

	public void send(Mail mail,MailAddress... addresses) {
		logger.warn("no mail sent");
	}

	public void sendFrom(Mail mail,String smtpFrom) {
		logger.warn("no mail sent");
	}

	public void useSsl() {}
	public void useStartTls() {}
	public void setPort(int port) {}
//	public void setSmtpFrom(String smtpFrom) {}
	public void setDebug(boolean b) {}
	public String getUserName() {
		return null;
	}
}
